package cn.ffcs.uec.organization.manager;

import java.util.ArrayList;
import java.util.List;

import cn.ffcs.uec.organization.model.UecOrgOrgs;
import cn.ffcs.uec.organization.vo.OrganizationRelationVo;
import cn.ffcs.uom.common.vo.PageInfo;
import cn.ffcs.uom.common.zkplus.zul.tree.node.TreeNodeEntity;

public interface UecOrgOrgsManager {
	
	public UecOrgOrgs findUecOrgOrgsByOrganizationRelationVo(
			OrganizationRelationVo organizationRelationVo);

	public UecOrgOrgs findUecOrgOrgsByUecOrgOrgs(
			UecOrgOrgs uecOrgOrgs);
	
	public PageInfo queryNextUecOrgOrgsByUecOrgOrgs(
			UecOrgOrgs uecOrgOrgs, int currentPage,
			int pageSize);
	
	public String getUecOrgOrgsNameByPkOrg(String pkOrg);
	
	/**
	 * 根据当前组织编码获取上级组织编码
	 * @param pkOrg
	 * @return
	 */
	public String getUecOrgOrgsPreOrgByPkOrg(String pkOrg);
	
	public PageInfo queryOrganization(UecOrgOrgs uecOrgOrgs, int currentPage,
			int pageSize);
	/**
	 * 获取父节点的查询语句,主要用于查询二级节点组织
	 */
	public String getOrgRootByName(String orgName); 
	
}
